#include "UIAvassaladora.h"

using namespace BWAPI;

void UIAvassaladora::update() const
{
	drawTerrain();

	drawPlatoons();
}

void UIAvassaladora::drawPlatoons() const
{
	UnitGroup units = UnitGroup::getUnitGroup(Broodwar->self()->getUnits());
	BWAPI::Position center = units.getCenter();

	Broodwar->drawCircle(CoordinateType::Map, center.x(), center.y(), 30, Colors::Cyan, false);
}